<center>
  <a href="#" target="_blank"><img src="" id="verifyerqrcode" style="width:300px;height:300px;"></a>
</center>
<script>
layui.use(['admin'], function(){
var $ = layui.$
,admin = layui.admin
,view = layui.view;

  var url = layui.params.qrcodeurl;
  $('#verifyerqrcode').attr('src', url).parent().attr('href', url);
  layui.params = {};
});
</script>